package com.yjd.comm.jms;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;

public class YJDMNSMsg implements Serializable {

    private static final long serialVersionUID = 1L;

    
    /**
     * 
     * 消息发送方id
     */
    private String msg_id;
    
    /**
     * 消息类型
     */
    private String msg_type;
    
     /**
      * 消息数据
      */
    private String msg_body;
    
    public YJDMNSMsg(){}
    
    public YJDMNSMsg(String msg_id, String msg_type,String msg_body) {
   	this.msg_id = msg_id;
   	this.msg_type = msg_type;
   	this.msg_body = msg_body;
       }
    
    public String getMsg_id() {
        return msg_id;
    }



    public void setMsg_id(String msg_id) {
        this.msg_id = msg_id;
    }



    public String getMsg_type() {
        return msg_type;
    }



    public void setMsg_type(String msg_type) {
        this.msg_type = msg_type;
    }



    public String getMsg_body() {
        return msg_body;
    }



    public void setMsg_body(String msg_body) {
        this.msg_body = msg_body;
    }



    public static <T extends Object> T getObject(Object obj, Class<T> cs) {
	return JSON.parseObject(obj.toString(), cs);
    }

}
